package com.lys.innerClass;

class Outer {
	private String msg = "hello";
	
	class Inner {
		public void print() {
			System.out.println(msg);
		}
	}
	
	public void fun() {
		new Inner().print();
	}
}
public class Test01 {

	public static void main(String[] args) {
		Outer out = new Outer();
		out.fun();

	}

}
